package common

import "go_src/common/exception"

/**
分页对象
*/
type Pagination struct {
	Total       uint64 `json:"total"`
	TotalPage   uint64 `json:"total_page"`
	PerPage     int    `json:"per_page" form:"per_page"`
	CurrentPage int    `json:"current_page" form:"page"`
}

/**
操作结果对象
 */
type Result struct{
	Error exception.BusinessError
	Success bool
	Data interface{}
}

